﻿using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace B.S.DataBase.MyRead.API.Appicant.Command.MenuCommand
{
    /// <summary>
    /// 菜单名称唯一验证命令
    /// </summary>
    public class OnenessMenuNameCommand:IRequest<APIResult<string>>
    {
        /// <summary>
        /// 父级id   顶级菜单是0
        /// </summary>
        public int ParentId { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string MenuName { get; set; }    
    }
}
